/*This file is part of jasmo.

jasmo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

jasmo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with jasmo.  If not, see <http://www.gnu.org/licenses/>.*/

package com.lab9.jasmo.domain;

/**
 * determines the state of a service.
 * @author dpsenner@gmail.com
 *
 */
public enum ServiceState {
	
	/**
	 * unprobed service is a service from which we dont know the state
	 */
	UNPROBED,
	
	/**
	 * marks that the service is being probed right now
	 */
	PROBING,
	
	/**
	 * marks that the service is in error and depending services dont
	 * need to be probed any further
	 */
	ERROR,
	
	/**
	 * marks that a probe resulted into a timeout. many services may not
	 * function properly if they do not respond in a given time 
	 */
	PROBETIMEOUT,
	
	/**
	 * marks that the service was successfully probed, hence it is up and
	 * running
	 */
	OK
}
